/****************************************************************************
** Form interface generated from reading ui file 'pilha.ui'
**
** Created: Seg Abr 7 23:20:12 2008
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.8   edited Jan 11 14:47 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef PILHAWINDOW_H
#define PILHAWINDOW_H

#include <qvariant.h>
#include <qdialog.h>
#include "./../includes/pilha.hpp"

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QPushButton;
class QLineEdit;
class QLabel;

class PilhaWindow : public QDialog
{
    Q_OBJECT

public:
    PilhaWindow( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~PilhaWindow();

    QPushButton* BtnPush;
    QLineEdit* EditPush;
    QLabel* LabelShowTop;
    QPushButton* BtnClose;
    QPushButton* BtnPop;

protected:
    void updateData();


protected slots:
    virtual void languageChange();

    void pop();
    void enablePush();
    void push();


private:
    pilha<QString>* pilhosa;

    void init();
    void destroy();

};

#endif // PILHAWINDOW_H
